//===--- ClangImporterTypeIDZone.def ----------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2021 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
//  This definition file describes the types in the clang importer
//  TypeID zone, for use with the TypeID template.
//
//===----------------------------------------------------------------------===//

SWIFT_REQUEST(ClangImporter, ClangDirectLookupRequest,
              (SmallVector<SingleEntry, 4>(ClangDirectLookupDescriptor)), Uncached,
              NoLocationInfo)
SWIFT_REQUEST(ClangImporter, CXXNamespaceMemberLookup,
              Decl *(CXXNamespaceMemberLookupDescriptor), Uncached,
              NoLocationInfo)
SWIFT_REQUEST(ClangImporter, ClangRecordMemberLookup,
              Decl *(ClangRecordMemberLookupDescriptor), Uncached,
              NoLocationInfo)
SWIFT_REQUEST(ClangImporter, ClangCategoryLookupRequest,
              IterableDeclContext *(ClangCategoryLookupDescriptor), Uncached,
              NoLocationInfo)
SWIFT_REQUEST(ClangImporter, ObjCInterfaceAndImplementationRequest,
              ObjCInterfaceAndImplementation(Decl *), SeparatelyCached,
              NoLocationInfo)
SWIFT_REQUEST(ClangImporter, CxxRecordSemantics,
              CxxRecordSemanticsKind(const clang::CXXRecordDecl *), Cached,
              NoLocationInfo)
SWIFT_REQUEST(ClangImporter, IsSafeUseOfCxxDecl,
              bool(SafeUseOfCxxRecordDescriptor), Cached,
              NoLocationInfo)
SWIFT_REQUEST(ClangImporter, CustomRefCountingOperation,
              CustomRefCountingOperationResult(CustomRefCountingOperationDescriptor), Cached,
              NoLocationInfo)
